package com.medical.literature.recognition.dto;

import lombok.Data;
import java.util.List;

/**
 * 识别结果DTO
 */
@Data
public class RecognitionResult {
    
    /**
     * 文献ID
     */
    private Long literatureId;
    
    /**
     * 提取的文本内容
     */
    private String textContent;
    
    /**
     * 提取的关键词列表
     */
    private List<String> keywords;
    
    /**
     * 识别置信度
     */
    private Double confidence;
    
    /**
     * 处理状态
     */
    private Integer status;
    
    /**
     * 错误信息
     */
    private String errorMessage;
    
    // 手动添加getter和setter方法
    public Long getLiteratureId() {
        return literatureId;
    }
    
    public void setLiteratureId(Long literatureId) {
        this.literatureId = literatureId;
    }
    
    public String getTextContent() {
        return textContent;
    }
    
    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }
    
    public List<String> getKeywords() {
        return keywords;
    }
    
    public void setKeywords(List<String> keywords) {
        this.keywords = keywords;
    }
    
    public Double getConfidence() {
        return confidence;
    }
    
    public void setConfidence(Double confidence) {
        this.confidence = confidence;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public String getErrorMessage() {
        return errorMessage;
    }
    
    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}